<?php
/**
 * @package Component Metromap for Joomla! 1.5
 * @version $Id: form.php 4 2010-08-17 13:58:48Z batyrkin $
 * @author Batyrkin Anton
 * @copyright (C) 2010- Batyrkin Anton
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 **/

defined('_JEXEC') or die();
JHTML::_('behavior.tooltip');
?>
<form action="<?php echo $this->request_url; ?>" method="post" name="adminForm" id="adminForm">
<div class="col width-50">
	<fieldset class="adminform">
		<legend><?php echo JText::_( 'Details' ); ?></legend>

		<table class="admintable">
		<tr>
			<td width="100" align="right" class="key">
				<label for="stationname">
					<?php echo JText::_( 'Name' ); ?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="stationname" id="stationname" size="32" maxlength="250" value="<?php echo $this->item->stationname;?>" />
			</td>
		</tr>
		<tr>
			<td valign="top" align="right" class="key">
				<label for="lineid">
					<?php echo JText::_( 'Line' ); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->lists['lineid']; ?>
			</td>
		</tr>
		<tr>
			<td width="100" align="right" class="key">
				<label for="stationcode">
					<?php echo JText::_( 'Station Code' ); ?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="stationcode" id="stationcode" size="32" maxlength="250" value="<?php echo $this->item->stationcode;?>" />
			</td>
		</tr>
		<tr>
			<td width="100" align="right" class="key">
				<label for="mapcoords">
					<?php echo JText::_( 'Station Coords' ); ?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="mapcoords" id="mapcoords" size="32" maxlength="250" value="<?php echo $this->item->mapcoords;?>" />
			</td>
		</tr>
		<tr>
			<td width="100" align="right" class="key">
				<label for="mapschape">
					<?php echo JText::_( 'Area Schape' ); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->lists['shape']; ?>
			</td>
		</tr>
		<tr>
			<td valign="top" align="right" class="key">
				<label for="link">
					<?php echo JText::_( 'link' ); ?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="stationlink" id="stationlink" value="<?php echo $this->item->stationlink; ?>" size="78" maxlength="250" />
			</td>
		</tr>
		<tr>
			<td valign="top" align="right" class="key">
				<?php echo JText::_( 'Published' ); ?>:
			</td>
			<td>
				<?php echo $this->lists['published']; ?>
			</td>
		</tr>
		<tr>
			<td valign="top" align="right" class="key">
				<label for="ordering">
					<?php echo JText::_( 'Ordering' ); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->lists['ordering']; ?>
			</td>
		</tr>
	</table>
	</fieldset>
</div>

<div class="clr"></div>

	<input type="hidden" name="option" value="com_metromap" />
	<input type="hidden" name="cid[]" value="<?php echo $this->item->id; ?>" />
	<input type="hidden" name="task" value="" />
	<input type="hidden" name="controller" value="metromapstation" />
	<?php echo JHTML::_( 'form.token' ); ?>
</form>